import request from '@/utils/request'

// 查询海洋数据总览列表
export function listSeaData(query) {
  return request({
    url: '/seaTotal/seaData/list',
    method: 'get',
    params: query
  })
}

export function windChartlist(query) {
  return request({
    url: '/seaTotal/seaData/windChartlist',
    method: 'get',
    params: query
  })
}

// 查询海洋数据总览详细
export function getSeaData(id) {
  return request({
    url: '/seaTotal/seaData/' + id,
    method: 'get'
  })
}

// 新增海洋数据总览
export function addSeaData(data) {
  return request({
    url: '/seaTotal/seaData',
    method: 'post',
    data: data
  })
}

// 修改海洋数据总览
export function updateSeaData(data) {
  return request({
    url: '/seaTotal/seaData',
    method: 'put',
    data: data
  })
}

// 删除海洋数据总览
export function delSeaData(id) {
  return request({
    url: '/seaTotal/seaData/' + id,
    method: 'delete'
  })
}



